package com.lyc.array;

public class ArrayDemo04 {
    public static void main(String[] args) {
        int[][] array = {{1,2},{2,3},{3,4},{4,5}};
//        System.out.println(array[3][0]);
//        System.out.println(array[0][1]);
        for (int i = 0;i < array.length;i++){
            for (int j = 0;j < array[i].length;j++){
                System.out.println(array[i][j]);
            }
        }


    }
}
